:root {
    --el-color-primary: #0084FF !important;
    --el-color-warning: #FAAD14 !important;
    --el-color-success: #2AC94F !important;
    --el-color-danger: #F84439 !important;
    --el-color-error: #F84439 !important;
    --el-font-size-base: 12px !important;
    --el-component-size: 28px !important;
}

// 按钮通用样式重置
.el-button {
    height: 28px !important;
}

.el-button.el-button--small {
    height: 24px !important;
}

.el-button+.el-button {
    margin-left: 8px !important;
}

// Link样式处理
.el-link+.el-link {
    margin-left: 8px;
}

// 级联选择器的滚动高度
.el-cascader-menu__wrap.el-scrollbar__wrap {
    height: unset !important;
    max-height: 400px !important;
}

// Checkbox处理
.el-checkbox.el-checkbox--default {
    height: 28px;

}

.el-checkbox.el-checkbox--large {
    height: 36px !important;

    .el-checkbox__inner {
        width: 16px !important;
        height: 16px !important;
    }

    .el-checkbox__inner::after {
        top: 2px;
        left: 5px;
    }
}

// 选择器样式重置
.el-select-dropdown__wrap {
    max-height: 400px !important;
}

// 分页器修改 
.el-pagination {
    --el-pagination-button-width: var(--el-component-size) !important;
    --el-pagination-button-height: var(--el-component-size) !important;
}

// 自动补全输入框
.el-autocomplete-suggestion__wrap {
    max-height: 400px !important;
}

// 表格样式设置
.el-table {
    --el-table-header-bg-color: #F7FAFF !important;
    --el-table-header-text-color: var(--el-text-color-regular) !important;
    --el-table-text-color: var(--el-text-color-primary) !important;

    font-size: var(--el-font-size-base) !important;

    thead {
        font-family: MiSans;

        .cell {
            font-weight: 400 !important;

        }
    }
}

// form样式修改
.el-form {
    --el-form-label-font-size: 14px !important;
}

// FpiForm组件样式修改
.fpi-el-form {
    .el-form-item__content {
        margin-left: 0 !important;
    }
}

// fpi年度范围选择器
.fpi-el-year-range-picker {
    .el-input .el-input__wrapper {
        padding: 1px !important;
    }
}

.el-select {
    .el-select__tags .el-tag {
        height: 20px !important;
        margin-top: 0 !important;
    }
}